<% if (!user()) { %>
<div class="hero-unit">
    <h1>欢迎来到 Microblog</h1>
    <p>Microblog是一个基于nodejs的微博系统</p>
    <p>
        <a href="/login" class="btn btn-primary btn-large">登录</a>
        <a href="/reg" class="btn btn-large">立即注册</a>
    </p>
</div>
<% } else { %>
    <%- include say.ejs %>
<% } %>
<%- include posts.ejs %> 
